<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>单文件上传</h1>
<form action="one/image" method="post" enctype="multipart/form-data">
    <input type="file" name="file">
    <button>上传</button>
</form>

<h1>多图片上传</h1>
<form action="list/image" method="post" enctype="multipart/form-data">
    <input type="file" name="file" accept="image/*"><br>
    <input type="file" name="file" accept="image/*"><br>
    <input type="file" name="file" accept="image/*"><br>
    <input type="file" name="file" accept="image/*"><br>

<!-- mutilple  开启多选 -->
    <input type="file" name="file" multiple accept="image/*"><br>
    <button>上传</button>
</form>
</body>
</html>